package com.hisysteTopet.hisystepet.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hisysteTopet.hisystepet.bean.Admin;
import com.hisysteTopet.hisystepet.mapper.AdminMapper;
import com.hisysteTopet.hisystepet.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements AdminService {
    @Autowired
    private AdminMapper adminMapper;

    @Override
    public Admin selectByUsername(String username) {

        return adminMapper.selectByUsername(username);
    }
}
